import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/Home'
import Discover from '../views/Discover'
import My from  '../views/My'
import Category from '../views/Category'
import Release from '../views/Release'
import Login from '../views/Lonin/Login'
import Register from '../views/Lonin/Register'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login ',
      component: Login
    },
    {
      path: '/register',
      name: 'Register ',
      component: Register
    },
    {
      path: '/home',
      name: 'Home',
      component: Home,

    },
    {
      path: '/discover',
      name: 'Discover',
      component: Discover
    },
    {
      path: '/my',
      name: 'My',
      component: My
    },
    {
      path: '/category',
      name: 'Category',
      component: Category
    },
    {
      path: '/release',
      name: 'Release',
      component: Release
    }
  ]
})
